package top.kangyaocoding.ecommerce.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import top.kangyaocoding.ecommerce.po.BehaviorTypeWithHour1212;

import java.util.List;

/**
 * 描述:
 *
 * @author K·Herbert
 * @since 2025-02-16 下午3:54
 */
@Mapper
public interface IBehaviorTypeWithHour1212Dao {
    @Select("SELECT * FROM behavior_type_with_hour_1212")
    @Results({
            @Result(property = "behaviorType", column = "behavior_type"),
            @Result(property = "behaviorCount", column = "behavior_count"),
    })
    List<BehaviorTypeWithHour1212> findAll();
}
